package com.shang.service.center;

import com.shang.pojo.Orders;
import com.shang.pojo.vo.OrderStatusCountsVO;
import com.shang.utils.PagedGridResult;

public interface MyOrdersService {
    public PagedGridResult queryMyOrders(String userId,Integer orderStatus,Integer page,Integer pageSize);

    /**
     * @Description: 订单状态 --> 商家发货
     */
    public void updateDeliverOrderStatus(String orderId);

    public boolean updateReceiveOrderStatus(String orderId);

    public Orders queryMyOrder(String userId, String orderId);

    public boolean deleteOrder(String userId, String orderId);

    public OrderStatusCountsVO getOrderStatusCounts(String userId);

    public PagedGridResult getOrdersTrend(String userId, Integer page, Integer pageSize);
}
